// @ts-ignore
/* eslint-disable */
import {request} from "../../utils/request";

/** 获取 线索上报  - 选题计划 提交 分页  POST */
export async function getCuesSubmitPage(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<CuesSubmitData.SubmitPage[]>>('/cues/submit/page', {
    method: 'POST',
    data: options || {},
  });
}

/** 保存 线索上报  - 选题计划 提交  POST */
export async function saveCuesSubmit(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/cues/submit/save', {
    method: 'POST',
    data: options || {},
  });
}

/** 获取 线索上报  - 选题计划 提交 详情  POST */
export async function getCuesSubmitDetails(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/cues/submit/details', {
    method: 'POST',
    data: options || {},
  });
}

/** 录用  POST */
export async function adoptSubmit(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<CuesAdoptData.Adopt>>('/cues/submit/adopt', {
    method: 'POST',
    data: options || {},
  });
}

/** 评分  POST */
export async function adoptSubmitScore(options?: { [key: string]: any }) {
  return request('/cues/submit/score', {
    method: 'POST',
    data: options || {},
  });
}
